home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 314 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: hwollman.mitre.org!user
  2. From: hwollman@mitre.org (Herbert Wollman)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Error in C:Eval
  5. Date: Mon, 08 Jan 1996 14:01:51 -0300
  6. Organization: Mitre Corp.
  7. Message-ID: <hwollman-0801961401510001@hwollman.mitre.org>
  8. References: <4cqt86$nc4@tuegate.tue.nl>
  9. NNTP-Posting-Host: hwollman.mitre.org
  10.  
  11. From: Herbert Wollman   hwollman@mitre.org
  12.  
  13. In article <4cqt86$nc4@tuegate.tue.nl>, eka@stack.urc.tue.nl (Eka Durmin) wrote:
  14.  
  15. > I use the shell-command Eval in my scripts.
  16. > There's is an error in Eval:
  17. >
  18.  
  19. There is no need to ever use EVAL since you have AREXX.  I have aliased the +
  20. character to be " say .   <Quote> <space> <s> <a> <y> <space>.
  21.  
  22. If I type a line which begins with a +, followed by a space, the Wshell
  23. replaces the + with " say , followed by the rest of the line.  The leading
  24. quote tells the WShell to send it to AREXX.  AREXX then evaluates the line
  25. and displays the result.  For example;
  26. + 2+4*5/2          produces 12
  27. and 
  28. + showlist('L')    produces a listing of all open Libraries.  
  29.  
  30. If you use a different shell, you may need a slightly different alias.
  31.